from urllib.request import urlopen
from urllib.error import HTTPError
from urllib.error import URLError

try:
    x=urlopen('https://www.cnblogs.com/wumaiqiti1020/p/109095501.html')
except HTTPError as e:
    print(e)
except URLError as e:
    print('The server not found!')
else:
    print('The is OK!')


try:
    x=urlopen('https://www.1cnblogs.com/wumaiqiti1020/p/10909550.html')
except HTTPError as e:
    print(e)
except URLError as e:
    print('The server not found!')
else:
    print('OK!')
